<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>
        <ui:composition template="./template/templateIngreso.xhtml">
            <ui:define name="content">
                <h:outputStylesheet library="css" name="styleLogin.css"  />
                <p:panel styleClass="panel400PX">
                    <br /><br /><br />
                    <center>
                        <section class="container">
                            <div class="login">
                                <h1>Ingreso al Sistema</h1>
                                <form method="post" action="j_security_check" name="j_security_check">
                                    <p><input type="text" name="j_username" value="john" placeholder="Usuario o Email"/></p>
                                    <p><input type="password" name="j_password" value="secret" placeholder="Password"/></p>
                                    <p class="submit"><input type="submit" name="commit" value="Ingresar" class="botonLogin"
                                                             onclick="mostrarEspera();" onended="ocultarEspera()"/></p>
                                </form>
                            </div>
                        </section>
                    </center>
                    <br /><br /><br /><br /><br /><br /><br />
                </p:panel>
            </ui:define>
        </ui:composition>
    </body>
</html>